﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DesignMode.FacadePattern
{
    public class Facade
    {
        SystemA systemA = new SystemA();
        SystemB systemB = new SystemB();

        public void Init()
        {
            if (systemB.Init())
            {
                systemA.Init();
            }
        }
    }
}
